package com.foton.websocket.pojo.rest;


/**
 * 结果枚举值
 */
public enum ResultEnum {
    FAIL(500,"提交结果失败！！！！"),
    SUCCESS(200,"提交结果成功！！！！"),
    SERVER_ERROR(500,"服务内部错误异常！！！！")
    ;

    private int code;
    private String message;

    ResultEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }
    public void setCode(int code) {
        this.code = code;
    }
    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }

}
